#if !defined (RESOURCE_H_0057619A_BE8B_43A5_AE69_5B85D999EAD1_)
#define RESOURCE_H_0057619A_BE8B_43A5_AE69_5B85D999EAD1_

#pragma once // in case the compiler supports it

typedef struct
{
    uint32 MajorVersion;
    uint32 MinorVersion;
    uint32 BuildNumber;
    uint32 RevisionNumber;

    alpha Comments[MAX_LOADSTRING];
    alpha CompanyName[MAX_LOADSTRING];
    alpha FileDescription[MAX_LOADSTRING];
    alpha FileVersion[MAX_LOADSTRING];
    alpha InternalName[MAX_LOADSTRING];
    alpha LegalTrademarks[MAX_LOADSTRING];
    alpha LegalCopyright[MAX_LOADSTRING];
    alpha OriginalFilename[MAX_LOADSTRING];
    alpha PrivateBuild[MAX_LOADSTRING];
    alpha ProductName[MAX_LOADSTRING];
    alpha ProductVersion[MAX_LOADSTRING];
    alpha SpecialBuild[MAX_LOADSTRING];
} appdata;

// loads a text file from the application's embedded resource file.
cstring LoadTextFile(unsigned int uID);

// message box function to simplify reading of resource strings
int ResourceMessage(HWND hWnd, unsigned int uText, unsigned int uCaption, unsigned int uType);

#endif  // RESOURCE_H